<doc>
<contents_area>
<div id="Content" style="padding: 5px;">
<h1><a name="PyDevEditorpreferences-PyDevEditorPreferences"></a>PyDev Editor Preferences</h1>

<h1><a name="PyDevEditorpreferences-Preferences"></a>Preferences</h1>

<p>The options in the preferences should be self-explanatory, so, they're only briefly detailed here, but if you don't understand one, please ask in the users forum (so that the spelling of the option is improved).</p>


<h1><a name="PyDevEditorpreferences-Editor"></a>Editor</h1>
<p>In <b>window &gt; preferences &gt; PyDev &gt; editor</b>, PyDev can edit the tab settings and appearance colors used in PyDev <br/>
(such as the code color, decorators, numbers, strings, comments, etc).</p>

<p>It's important to have in mind that many preferences, such as print margin, show line number, background/foreground colors, etc. are inherited from the text-editor preferences at <b>general &gt; editors &gt; text editors</b>, and some other preferences are at <b>general &gt; appearance &gt; colors and fonts</b> &#8211; there's a link for both at the end of the preferences page.</p>


<p><span class="image-wrap" style=""><img src="images/editor/editor_preferences.png" style="border: 1px solid black" /></span></p>
<h1><a name="PyDevEditorpreferences-CodeCompletion"></a>Code Completion</h1>

<p>In code completion preferences, configure how you want the code-completion to work.</p>


<p><span class="image-wrap" style=""><img src="images/editor/code_completion_preferences.png" style="border: 1px solid black" /></span></p>
<h1><a name="PyDevEditorpreferences-CodeFolding"></a>Code Folding</h1>

<p>Code-folding: new editors will have it applied.</p>


<p><span class="image-wrap" style=""><img src="images/editor/code_folding_preferences.png" style="border: 1px solid black" /></span></p>
<h1><a name="PyDevEditorpreferences-CodeStyle"></a>Code Style</h1>
<p>Code-style: Choose how you want the <b>assign to variable quick assist assign</b> to work (Ctrl+1): with camel case variables or variables separated with underline (an example is shown when you change it).</p>


<p><span class="image-wrap" style=""><img src="images/editor/code_style_preferences.png" style="border: 1px solid black" /></span></p>
<h1><a name="PyDevEditorpreferences-BlockComments"></a>Block Comments</h1>
<p>Block comments are comments formatted in a special way. An example of applying the block comment is shown (2 types of block comments are available: a multi-line and a single line comment).</p>


<p><span class="image-wrap" style=""><img src="images/editor/block_comments_preferences.png" style="border: 1px solid black" /></span></p>
<h1><a name="PyDevEditorpreferences-CodeFormatter"></a>Code Formatter</h1>
<p>In the code-formatter preferences page, you can choose different ways of having your code formatted.</p>

<p><span class="image-wrap" style=""><img src="images/editor/code_formatter_preferences.png" style="border: 1px solid black" /></span></p>
<h1><a name="PyDevEditorpreferences-Docstrings"></a>Docstrings</h1>
<p>With Ctrl+1 when over a function line, you can create the docstring automatically (and these preferences are used to determine what's the result of doing so)</p>

<p><span class="image-wrap" style=""><img src="images/editor/docstring_preferences.png" style="border: 1px solid black" /></span></p>
<h1><a name="PyDevEditorpreferences-FileTypes"></a>File Types</h1>
<p>The file types indicate which file extensions are recognized for the type inference engine (it's not an association to the file editor)</p>

<p><span class="image-wrap" style=""><img src="images/editor/file_type_preferences.png" style="border: 1px solid black" /></span></p>
<h1><a name="PyDevEditorpreferences-Imports"></a>Imports</h1>
<p>Ctrl+Shift+O can organize the available imports (when no selection is done &#8211; if done over a selection it'll do a regular text sort over the selected text), and those preferences indicate how the available imports should be organized.</p>

<p><span class="image-wrap" style=""><img src="images/editor/import_preferences.png" style="border: 1px solid black" /></span></p>
<h1><a name="PyDevEditorpreferences-Hover"></a>Hover</h1>
<p>What to show on the mouse hover?</p>

<p><span class="image-wrap" style=""><img src="images/editor/hover_preferences.png" style="border: 1px solid black" /></span></p>
<h1><a name="PyDevEditorpreferences-Templates"></a>Templates</h1>
<p>Here you can enter new templates. There are 2 contexts, the "Editor" and the "New Module". The templates in the "Editor" context are available for code-completion and the ones with "New Module" are available for the creation<br/>
of new modules. </p>

<p><span class="image-wrap" style=""><img src="images/editor/template_preferences.png" style="border: 1px solid black" /></span></p>
<h1><a name="PyDevEditorpreferences-Typing"></a>Typing</h1>
<p>The typing preferences indicate what should be automatically entered when you're typing text (e.g.: automatic parenthesis, smart indent, etc).</p>


<p><span class="image-wrap" style=""><img src="images/editor/typing_preferences.png" style="border: 1px solid black" /></span></p>
</div>
</contents_area>
</doc>